package tas.sql;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 * @author parainformaticos.com
 */
public class ConectaDblocal {

    public Connection getBdtas() {
        Connection cn = null;

        try {
            Class.forName("oracle.jdbc.OracleDriver").newInstance();
            cn = DriverManager.getConnection(
                    "jdbc:oracle:thin:@localhost:1521:bddesa",
                    "BDTAS", "123456"); // Hhyd4493
            
        } catch (SQLException ex) {
        } catch (ClassNotFoundException ex) {
        } catch (InstantiationException ex) {
        } catch (IllegalAccessException ex) {
        }

        return cn;
    }



    public ConectaDblocal() {
    }
}

